import request from '@/utils/request'


export function addEvaluateWK(data) {
  return request({
    url: '/project/evaluation/addEvaluateWK',
    method: 'post',
    data: data
  })
}

// 查询项目确认及评价列表
export function listEvaluation(query) {
  return request({
    url: '/project/evaluation/list',
    method: 'get',
    params: query
  })
}

// 查询项目确认及评价详细
export function getEvaluation(id) {
  return request({
    url: '/project/evaluation/' + id,
    method: 'get'
  })
}

// 新增项目确认及评价
export function addEvaluation(data) {
  return request({
    url: '/project/evaluation',
    method: 'post',
    data: data
  })
}

// 修改项目确认及评价
export function updateEvaluation(data) {
  return request({
    url: '/project/evaluation',
    method: 'put',
    data: data
  })
}

// 删除项目确认及评价
export function delEvaluation(id) {
  return request({
    url: '/project/evaluation/' + id,
    method: 'delete'
  })
}
